const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
//  删除user子模块相关代码,
name: (state) => state.user.userInfo.username,
avatar: (state) => state.user.userInfo.staffPhoto
}
export default getters
